<link rel="stylesheet" href="./five/Order/Order.css">

<div class="all">

<ul class="title">
    <li class="leftTitle clearfix">光华彩印库存管理系统</li>
    <li class="rightTitle clearfix">欢迎您！{{username}}</li>
    <li class="rightTitle clearfix" ng-click="reset()">注销</li>
</ul>


    <ul class="section clearfix">
        <li >

            <div class="orderSearch"></div>
            订单查询
            <div class="urder"></div>
        </li>
        <li ng-click="jump('warehouse')">
            <div class="warehouse"></div>
            库存查询</li>
        <li ng-click="jump('qualityForm')">
            <div class="qualityFormIcon"></div>

            质量标准
        </li>

        <li ng-click="jump('system')">
            <div class="role"></div>
            系统管理</li>
    </ul>

    <!--质量标准-------------------------------------------------------------------------->

    <div class="applyTickmask" ng-show="showFormDetailBox" >
        <div class="qualityForm" ng-show="showFormDetailBox" >
            <div class="aptkMaskTitle" ng-show="showFormDetailBox">标准详情</div>
            <div class="string" >公司名称:
                <div>{{formDatasArr.customerInfo.companyname}}</div>
            </div>
            <div class="string" >客户ID:
                <div >{{formDatasArr.productInfo.customerid}}</div>
            </div>
            <div class="string" >公司代码:
                <div >{{formDatasArr.customerInfo.companycode}}</div>
            </div>
            <div class="string" >产品名称:
                <div  >{{formDatasArr.productInfo.productname}}</div>
            </div>
            <div class="string" >产品编码:
                <div  >{{formDatasArr.productionStandard.codeid}}</div>
            </div>
            <div class="string" >编码:
                <div >{{formDatasArr.productInfo.productcode}}</div>
            </div>
            <div class="string">印刷方式:
                <!--<div  >{{formDatasArr.productionStandard.PrintMethod}}</div></div>-->
                <select ng-init="formDatasArr.productionStandard.printingmode" ng-model="formDatasArr.productionStandard.printingmode" ng-options="x.name for x in selectPrintOption"></select>
            </div>
            <div class="string">材料性质:
                <div  >{{formDatasArr.productionStandard.material}}</div>
            </div>
            <div class="string">横向收缩率:
                <div   >{{formDatasArr.productionStandard.crosswiseshrink}}</div>
            </div>
            <div class="string">纵向收缩率:
                <div>{{formDatasArr.productionStandard.portraitshrink}}</div>
            </div>
            <div class="string">产品重量:
                <div>{{formDatasArr.productInfo.weight}}</div>
            </div>


            <div class="printtitle">印版资料</div>


            <div class="string">版号:
                <div>{{formDatasArr.printingData.templatenum}}</div>
            </div>
            <div class="string">印刷尺寸:
                <div>{{formDatasArr.printingData.printsize}}</div>
            </div>
            <div class="string">版长:
                <div>{{formDatasArr.printingData.templatelength}}</div>
            </div>
            <div class="string">版周:
                <div>{{formDatasArr.printingData.templateperimeter}}</div>
            </div>
            <div class="string">拼数:
                <div>{{formDatasArr.printingData.spellcount}}</div>
            </div>
            <div class="string">版辊数:
                <div>{{formDatasArr.printingData.bankuncount}}</div>
            </div>
            <div class="string">颜色:
                <div>{{formDatasArr.printingData.color}}</div>
            </div>
            <div class="string">备注:
                <div>{{formDatasArr.printingData.printnote}}</div>
            </div>


            <div class="printtitle">印刷工序</div>


            <div class="string">印刷方向:
                <div>{{formDatasArr.printingProcedure.printdirect}}</div>
            </div>
            <div class="string">材料规格:
                <div >{{formDatasArr.printingProcedure.specification}}</div>
            </div>
            <div class="string">印刷数量:
                <div>{{formDatasArr.printingProcedure.printamount}}</div>
            </div>
            <div class="string">印刷重量:
                <div>{{formDatasArr.printingProcedure.printweight}}</div>
            </div>
            <div class="string">印刷数量（米）:
                <div>{{formDatasArr.printingProcedure.printmeter}}</div>
            </div>
            <div class="string">损耗%:
                <div>{{formDatasArr.printingProcedure.wastage}}</div>
            </div>
            <div class="string">印刷工序备注:
                <div>{{formDatasArr.printingProcedure.procedurenote}}</div>
            </div>

            <div class="printtitle">后工序</div>
            <div class="string">品检:
                <div>{{formDatasArr.printingProcedureafter.qualitycheck}}</div>
            </div>

            <div class="printtitle">分条</div>
            <div class="string">分切尺寸:
                <div >{{formDatasArr.printingProcedureafter.splitsizr}}</div>
            </div>
            <div class="string">透明边留位:
                <div>{{formDatasArr.printingProcedureafter.transparentkeep}}</div>
            </div>

            <div class="printtitle">合掌</div>
            <div class="string">合掌尺寸:
                <div>{{formDatasArr.printingProcedureafter.mergesize}}</div>
            </div>
            <div class="string">切高:
                <div>{{formDatasArr.printingProcedureafter.splithigh}}</div>
            </div>
            <div class="string">胶水位置:
                <div>{{formDatasArr.printingProcedureafter.glueplace}}</div>
            </div>
            <div class="string">折位:
                <div>{{formDatasArr.printingProcedureafter.foldplace}}</div>
            </div>
            <div class="string">撕口线规格:
                <div>{{formDatasArr.printingProcedureafter.tearlinesize}}</div>
            </div>
            <div class="string">撕口线位置:
                <div>{{formDatasArr.printingProcedureafter.tearlineplace}}</div>
            </div>

            <div class="printtitle">重卷</div>
            <div class="string">成品型式:
                <select ng-init="formDatasArr.printingProcedureafter.productstyle" ng-model="formDatasArr.printingProcedureafter.productstyle" ng-options="x.name for x in selectProductStyleOption"></select>
            </div>
            <div class="string">卷标长度:
                <div>{{formDatasArr.printingProcedureafter.scrolllength}}</div>
            </div>

            <div class="string">装箱方式:
                <div>{{formDatasArr.printingProcedureafter.boxway}}</div>
            </div>

            <div class="string">纸箱规格:
                <div>{{formDatasArr.printingProcedureafter.boxsize}}</div>
            </div>

            <div class="string">重卷规格:
                <div>{{formDatasArr.printingProcedureafter.repeatscrollsize}}</div>
            </div>

            <div class="string">成品数量:
                <div >{{formDatasArr.printingProcedureafter.proceduresum}}</div>
            </div>
            <div class="string">驳口数:
                <div>{{formDatasArr.printingProcedureafter.interfacecount}}</div>
            </div>
            <div class="string">备注(品检):
                <div>{{formDatasArr.productionStandard.note}}</div>
            </div>

            <div class="printtitle">封切</div>

            <div class="string">切片数量(张数):

                <select ng-init="formDatasArr.printingProcedureafter.splitsum" ng-model="formDatasArr.printingProcedureafter.splitsum" ng-options="x.name for x in splitsumOption"></select>
            </div>

            <!--<div class="FormTitle">封切</div>-->

            <div class="string">折边:
                <div >{{formDatasArr.printingProcedureafter.hemcount}}</div>
            </div>
            <div class="string">共用模具:
                <div>{{formDatasArr.printingProcedureafter.mould}}</div>
            </div>


            <div class="string">包装:
                <select ng-init="formDatasArr.productionStandard.packaging" ng-model="formDatasArr.productionStandard.packaging" ng-options="x.name for x in packageOption"></select>

                <!--<div class="string">{{formDatasArr.productionStandard.packaging}}</div>-->
            </div>
            <div class="string">备注(纸箱):
                <div>{{formDatasArr.printingProcedureafter.note}}</div>
            </div>
            <div class="string">编单人：
                <div>{{formDatasArr.productionStandard.createauthor}}</div>
            </div>
            <div class="qualityFormbutton">
                <span class="search" ng-click="showFormDetailBox=false">关闭</span>
            </div>

        </div>
    </div>







<!--------------------------新增订单---------------------------------------->

    <div class="applyTickmask" ng-show="newOrderBox">
        <div class="aptkMaskBox" ng-show="newOrderBox">
            <div class="aptkMaskTitle">新增订单</div>
             <span class="close" ng-click="newOrderBox=false"></span>
            <form name="newOrder" novalidate>
            <!--<div>-->

            <span class="string">
                交货日期：<input type="text"  name="datepicker"  ng-model="newOrder.deline"  placeholder="2016-03-08"/>
            </span>


            <span class="string">
                客户ID：(必填)
                <!--<input type="text" name="companyID" ng-model="newOrder.companyid" onkeyup="value=value.replace(/[^\d]/g,'');" required maxlength="15"/>-->
                 <select name="companyID" ng-init="newOrder.companyid = companySelect[0].id" ng-model="newOrder.companyid" ng-options="x.note2 for x in companySelect"></select>
                 <span style="color:red" ng-show="newOrder.companyID.$dirty &&newOrder.companyID.$invalid">
                <span class="errorTip clearfix" ng-show="newOrder.companyID.$dirty &&newOrder.companyID.$error.required">客户ID是必须的。</span>
                </span>
            </span>



    <span class="string">
                订单编号：(必填)<input type="text" name="orderID" ng-model="newOrder.orderid" onkeyup="value=value.replace(/[^\d]/g,'');" required maxlength="15"/>
                 <span style="color:red" ng-show="newOrder.orderID.$dirty &&newOrder.orderID.$invalid">
                <span class="errorTip clearfix" ng-show="newOrder.orderID.$dirty &&newOrder.orderID.$error.required">订单编号是必须的。</span>
                </span>
            </span>

            <span class="string">
                成品库存数量：<input type="text" ng-model="newOrder.productsum" onkeyup="value=value.replace(/[^\d]/g,'');" maxlength="15"/>
            </span>
            <span class="string">
                高度：(必填)<input type="text" name="Height" ng-model="newOrder.height" onkeyup="value=value.replace(/[^\d]/g,'');" maxlength="15" required/>
                  <span style="color:red" ng-show="newOrder.Height.$dirty &&newOrder.Height.$invalid">
                <span class="errorTip clearfix" ng-show="newOrder.Height.$dirty &&newOrder.Height.$error.required">高度是必须的。</span>
                </span>
            </span>

                          <span class="string">
                订单数量：(必填)<input type="text"  name="orderCount" ng-model="newOrder.ordercount" onkeyup="value=value.replace(/[^\d]/g,'');" maxlength="15" required/>
                  <span style="color:red" ng-show="newOrder.orderCount.$dirty &&newOrder.orderCount.$invalid">
                <span class="errorTip clearfix" ng-show="newOrder.orderCount.$dirty &&newOrder.orderCount.$error.required">订单数量是必须的。</span>
                </span>
            </span>

                 <span class="string">
                成品ID：(必填)
                     <!--<input type="text" maxlength="15" name="productID"  ng-model="newOrder.productid" required/>-->
                 <select name="productID" ng-init="newOrder.productid = productSelect[0].id" ng-model="newOrder.productid" ng-options="x.note2 for x in productSelect" required></select>

                  <span style="color:red" ng-show="newOrder.productID.$dirty &&newOrder.productID.$invalid">
                <span class="errorTip clearfix" ng-show="newOrder.productID.$dirty &&newOrder.productID.$error.required">成品ID是必须的。</span>
                </span>
            </span>

                   <span class="string">
                比重：(必填)<input type="text" name="proporTion" maxlength="15" onkeyup="value=value.replace(/[^\d]/g,'');"   ng-model="newOrder.proportion" required/>
                   <span style="color:red" ng-show="newOrder.proporTion.$dirty &&newOrder.proporTion.$invalid">
                <span class="errorTip clearfix" ng-show="newOrder.proporTion.$dirty &&newOrder.proporTion.$error.required">比重是必须的。</span>
                </span>
            </span>

                <span class="string">
                拼数：(必填)<input type="text" name="spellCount" maxlength="5" ng-model="newOrder.spellcount" required/>
                      <span style="color:red" ng-show="newOrder.spellCount.$dirty &&newOrder.spellCount.$invalid">
                <span class="errorTip clearfix" ng-show="newOrder.spellCount.$dirty &&newOrder.spellCount.$error.required">拼数是必须的。</span>
                </span>
            </span>

             <span class="string">
                生产标准ID：(必填)
                 <!--<input type="text" ng-model="newOrder.standardid" name="standardID" required maxlength="15" onkeyup="value=value.replace(/[^\d]/g,'');"/>-->
                              <select name="productID" required ng-init="newOrder.standardid = standardSelect[0].id" ng-model="newOrder.standardid" ng-options="x.note2 for x in standardSelect"></select>


              <span style="color:red" ng-show="newOrder.standardID.$dirty &&newOrder.standardID.$invalid">
                <span class="errorTip clearfix" ng-show="newOrder.standardID.$dirty &&newOrder.standardID.$error.required">成品ID是必须的。</span>
                </span>
             </span>

 <span class="string">
                订单情况：(必填)
                     <select name="orderState" required  ng-model="newOrder.result" ng-options="x.name for x in orderStateSelect"></select>
     <!--<input type="text" ng-model="newOrder.result" name="orderState" required />-->
                <span style="color:red" ng-show="newOrder.orderState.$dirty &&newOrder.orderState.$invalid">
                <span class="errorTip clearfix" ng-show="newOrder.orderState.$dirty &&newOrder.orderState.$error.required">订单情况是必须的。</span>
                </span>
            </span>

                   <span class="string">

                原材料：(必填)
                       <select required name="stockID" ng-init="newOrder.stockid = materialSelect[0].id" ng-model="newOrder.stockid" ng-options="x.note2 for x in materialSelect"></select>
                       <!--<input type="text" name="stockID" ng-model="newOrder.stockid" maxlength="15" onkeyup="value=value.replace(/[^\d]/g,'');" required/>-->
                       <span style="color:red" ng-show="newOrder.stockID.$dirty &&newOrder.stockID.$invalid">
                <span class="errorTip clearfix" ng-show="newOrder.stockID.$dirty &&newOrder.stockID.$error.required">原材料是必须的。</span>
                </span>
            </span>

                <span class="string">
                厚度：（必填）<input type="text"  name="thickNess" maxlength="15" ng-model="newOrder.thickness" onkeyup="value=value.replace(/[^\d]/g,'');" required/>
       <span style="color:red" ng-show="newOrder.thickNess.$dirty &&newOrder.thickNess.$invalid">
                <span class="errorTip clearfix" ng-show="newOrder.thickNess.$dirty &&newOrder.thickNess.$error.required">厚度是必须的。</span>
                </span>
            </span>


            <span class="string">
                现原材料库存：<input type="text"  maxlength="15" ng-model="newOrder.materialsum"onkeyup="value=value.replace(/[^\d]/g,'');"/>

            </span>

               <span class="string">
                订单日期：<input type="text" name="datepicker"  ng-model="newOrder.orderdate"placeholder="2016-03-08"/>
            </span>


             <span class="string">
               原材料所需采购量：<input type="text" maxlength="15" ng-model="newOrder.purchasebuy" onkeyup="value=value.replace(/[^\d]/g,'');"/>
            </span>



              <span class="string">
                成品库存数量：<input type="text" ng-model="newOrder.stockcount" maxlength="15" onkeyup="value=value.replace(/[^\d]/g,'');"/>
            </span>


            <!--<div class="Formtitle">运输方式</div>-->


              <span class="string">
                印刷：
                  <!--<input type="text" maxlength="2" ng-model="newOrder.print" onkeyup="value=value.replace(/[^\d]/g,'');"/>-->
                  <input type="checkbox"  ng-model="newOrder.print" ng-true-value="true" ng-false-value="false"/>
            </span>
              <span class="string">
                开料：<input type="checkbox" ng-model="newOrder.open" ng-true-value="true" ng-false-value="false"/>
            </span>
               <span class="string">
                合掌：<input type="checkbox" ng-model="newOrder.merge" ng-true-value="true" ng-false-value="false"/>
            </span>
               <span class="string">
                切标：<input type="checkbox" ng-model="newOrder.cut" ng-true-value="true" ng-false-value="false"/>
            </span>
               <span class="string">
                定型：<input type="checkbox" ng-model="newOrder.stable" ng-true-value="true" ng-false-value="false"/>
            </span>
               <span class="string">
                复卷：<input type="checkbox" ng-model="newOrder.repeat" ng-true-value="true" ng-false-value="false"/>
            </span>


               <span class="string">
                送货：<input type="text" ng-model="newOrder.delivery" maxlength="50" />
            </span>
               <span class="string">
                物流：<input type="text" ng-model="newOrder.logistics" maxlength="50" />
            </span>
               <span class="string">
                物流名称：<input type="text" ng-model="newOrder.express" maxlength="50" />
            </span>
 <span class="string">
                物流单号：<input type="text" ng-model="newOrder.expressnum" maxlength="50" onkeyup="value=value.replace(/[^\d]/g,'');"/>
            </span>


            <div class="qualityFormbutton">
                <!--<span class="search " ng-click="newOrder=false">确定</span>-->
                <!--<span class="search" ng-click="newOrder=false">取消</span>-->

                <p>
                    <input type="submit" ng-click="addOrder()"
                           ng-disabled="newOrder.orderState.$invalid
                           ||newOrder.stockID.$invalid
                           ||newOrder.spellCount.$invalid
                           ||newOrder.thickNess.$invalid
                           ||newOrder.thickness.$invalid
                           ||newOrder.proporTion.$invalid
                           ||newOrder.result.$invalid
                           ||newOrder.orderCount.$invalid
                           ||newOrder.standardID.$invalid
                           || newOrder.Height.$invalid
                           || newOrder.productID.$invalid
                           || newOrder.orderID.$invalid
                           ||newOrder.companyID.$invalid ">
                </p>
            </div>
            </form>
        </div>
    </div>


    <!-- 编辑订单====================================================================-->
    <div class="applyTickmask" ng-show="EditOrderBox">
        <div class="aptkMaskBox" ng-show="EditOrderBox">
            <div class="aptkMaskTitle">编辑订单</div>
            <span class="close" ng-click="EditOrderBox=false"></span>
            <form name="EdiOrder" novalidate>
                <!--<div>-->

            <span class="string">
                交货日期：<input type="text"   ng-model="EdiOrder.deline" placeholder="2016-03-08"/>
            </span>



            <span class="string">
                客户ID：(必填)
                <!--<input type="text" name="companyID" ng-model="newOrder.companyid" onkeyup="value=value.replace(/[^\d]/g,'');" required maxlength="15"/>-->
                 <select name="companyID"  ng-model="EdiOrder.companyid"
                         ng-options="x.note2 for x in companySelect"></select>
                 <span style="color:red" ng-show="EdiOrder.companyID.$dirty &&EdiOrder.companyID.$invalid">
                <span class="errorTip clearfix" ng-show="EdiOrder.companyID.$dirty &&EdiOrder.companyID.$error.required">客户ID是必须的。</span>
                </span>
            </span>



    <span class="string">
                订单编号：(必填)<input type="text" name="orderID" ng-model="EdiOrder.orderid" onkeyup="value=value.replace(/[^\d]/g,'');" required maxlength="15"/>
                 <span style="color:red" ng-show="EdiOrder.orderID.$dirty &&EdiOrder.orderID.$invalid">
                <span class="errorTip clearfix" ng-show="EdiOrder.orderID.$dirty &&EdiOrder.orderID.$error.required">订单编号是必须的。</span>
                </span>
            </span>

            <span class="string">
                成品库存数量：<input type="text" ng-model="EdiOrder.productsum" onkeyup="value=value.replace(/[^\d]/g,'');" maxlength="15"/>
            </span>

             <span class="string">
                生产标准ID：(必填)
                 <!--<input type="text" ng-model="EdiOrder.standardid" name="standardID" required maxlength="15" onkeyup="value=value.replace(/[^\d]/g,'');"/>-->
                              <select name="standardID" required ng-init="EdiOrder.standardid = standardSelect[0].id" ng-model="EdiOrder.standardid" ng-options="x.note2 for x in standardSelect"></select>


              <span style="color:red" ng-show="EdiOrder.standardID.$dirty &&EdiOrder.standardID.$invalid">
                <span class="errorTip clearfix" ng-show="EdiOrder.standardID.$dirty &&EdiOrder.standardID.$error.required">成品ID是必须的。</span>
                </span>
             </span>

 <span class="string">
                订单情况：(必填)
                <select name="orderState" required  ng-model="EdiOrder.result" ng-options="x.name for x in orderStateSelect"></select>
                <!--<input type="text" ng-model="EdiOrder.result" name="orderState" required />-->
                <span style="color:red" ng-show="EdiOrder.orderState.$dirty &&EdiOrder.orderState.$invalid">
                <span class="errorTip clearfix" ng-show="EdiOrder.orderState.$dirty &&EdiOrder.orderState.$error.required">订单情况是必须的。</span>
                </span>
            </span>


               <span class="string">
                订单日期：<input type="text"  id="EdiOrderdate" ng-model="EdiOrder.orderdate"placeholder="2016-03-08"/>
            </span>



                <div class="Formtitle">运输方式</div>


              <span class="string">
                印刷：
            <input type="checkbox" ng-model="EdiOrder.print" ng-true-value="true" ng-false-value="false" />
              </span>
              <span class="string">
                开料：
                  <input type="checkbox" ng-model="EdiOrder.open" ng-true-value="true" ng-false-value="false" />
            </span>
               <span class="string">
                合掌：
                   <input type="checkbox" ng-model="EdiOrder.merge" ng-true-value="true" ng-false-value="false" />
            </span>
               <span class="string">
                切标：
                   <input type="checkbox" ng-model="EdiOrder.cut" ng-true-value="true" ng-false-value="false" />
            </span>
               <span class="string">
                定型：
                   <input type="checkbox" ng-model="EdiOrder.stable" ng-true-value="true" ng-false-value="false" />
            </span>
               <span class="string">
                复卷：
                   <input type="checkbox" ng-model="EdiOrder.repeat" ng-true-value="true" ng-false-value="false" />
            </span>


               <span class="string">
                送货：<input type="text" ng-model="EdiOrder.delivery" maxlength="50" />
            </span>
               <span class="string">
                物流：<input type="text" ng-model="EdiOrder.logistics" maxlength="50" />
            </span>
               <span class="string">
                物流名称：<input type="text" ng-model="EdiOrder.express" maxlength="50" />
            </span>
 <span class="string">
                物流单号：<input type="text" ng-model="EdiOrder.expressnum" maxlength="50" onkeyup="value=value.replace(/[^\d]/g,'');"/>
            </span>


                <div class="qualityFormbutton">
                    <!--<span class="search " ng-click="EdiOrder=false">确定</span>-->
                    <!--<span class="search" ng-click="EdiOrder=false">取消</span>-->

                    <p>
                        <input type="submit" ng-click="editCommit()"
                               ng-disabled="EdiOrder.orderState.$invalid
                           ||EdiOrder.stockID.$invalid
                           ||EdiOrder.spellCount.$invalid
                           ||EdiOrder.thickNess.$invalid
                           ||EdiOrder.thickness.$invalid
                           ||EdiOrder.proporTion.$invalid
                           ||EdiOrder.result.$invalid
                           ||EdiOrder.orderCount.$invalid
                           ||EdiOrder.standardID.$invalid
                           || EdiOrder.Height.$invalid
                           || EdiOrder.productID.$invalid
                           || EdiOrder.orderID.$invalid
                           ||EdiOrder.companyID.$invalid ">
                    </p>
                </div>
            </form>
        </div>
    </div>








<div class="details">
    <div class="up searchSuject">
        <span>类别</span>
    <div class="options">
        <select  class="selectOrderOption" ng-init="selectedName = selectOrderOption[0]" ng-model="selectedName" ng-options="x for x in selectOrderOption">
        </select>
    </div>

        <span >
            <input type="text" placeholder="编号"  ng-model="selectValue" ng-show="selectedName=='编号'"/>
            <input type="text" placeholder="产品名称" ng-model="selectValue" ng-show="selectedName=='产品名称'"/>
            <input type="text" placeholder="客户名称"  ng-model="selectValue" ng-show="selectedName=='材料规格'"/>
            <input type="text" placeholder="出货日期"  ng-model="selectValue" ng-show="selectedName=='交货日期'"/>
        </span>

    <!--<div class="options">-->
        <!--<input class="selectOption" type="date"/>-->
    <!--</div>-->

    <div class="search point" ng-click="searchOnKey(selectedName)">搜索</div>
        <div class="search point" ng-click="newOrderBox=true" ng-show="username=='超级管理员'">添加</div>
    </div>


    <div class="down">
        <table class="sujectTitle">
            <tr>
            <td class="sujectOption">订单编号</td>
            <td class="sujectOption">公司名称</td>
            <td class="sujectOption">供应商</td>
            <td class="sujectOption">公司代码</td>
            <td class="sujectOption">材料规格</td>
            <td class="sujectOption">产品名称</td>
            <td class="sujectOption">颜色</td>
            <td class="sujectOption">材料ID</td>
            <td class="sujectOption" ng-show="username=='超级管理员'">生产标准</td>
            <td class="sujectOption">拼数</td>
            <td class="sujectOption">比重</td>
            <td class="sujectOption">高度</td>

            <td class="sujectOption">厚度</td>
            <td class="sujectOption">原材料库存</td>
                <td class="sujectOption">原材料所需采购量</td>
                <td class="sujectOption">订单数量</td>
                <td class="sujectOption">成品库存数量</td>
                <td class="sujectOption">所需生产量</td>

                <td class="sujectOption">订单日期</td>
                <td class="sujectOption">交货日期</td>
                <td class="sujectOption">印刷</td>
                <td class="sujectOption">合掌</td>
                <td class="sujectOption">开料</td>
                <td class="sujectOption">切标</td>
                <td class="sujectOption">定型</td>
                <td class="sujectOption">复卷</td>
                <td class="sujectOption">送货</td>
                <td class="sujectOption">物流</td>
                <td class="sujectOption">物流名称</td>
                <td class="sujectOption">物流单号</td>
                <td class="sujectOption">订单状态</td>
                <td class="sujectOption">建单时间</td>
                <td class="sujectOption" ng-show="username=='超级管理员'">编辑</td>
            </tr>


            <tr ng-repeat="orderList in orderData track by $index">
                <td class="sujectOption sujectOptionng">{{orderList.orderid}}</td>
                <td class="sujectOption sujectOptionng" >{{orderList.companyname}}</td>
                <td class="sujectOption sujectOptionng">{{orderList.provider}}</td>
                <td class="sujectOption sujectOptionng">{{orderList.companycode}}</td>
                <td class="sujectOption sujectOptionng">{{orderList.specification}}</td>
                <td class="sujectOption sujectOptionng">{{orderList.stockname}}</td>
                <td class="sujectOption sujectOptionng">{{orderList.color}}</td>
                <td class="sujectOption sujectOptionng">{{orderList.stockid}}</td>
                <td class="sujectOption sujectOptionng"ng-show="username=='超级管理员'"><img ng-click="searchForm(orderList)" class="detailIcon" src="./libs/img/qualityFormIcon.png"/></td>
                <td class="sujectOption sujectOptionng">{{orderList.spellcount}}</td>
                <td class="sujectOption sujectOptionng">{{orderList.proportion}}</td>
                <td class="sujectOption sujectOptionng">{{orderList.height}}</td>
                <!--<td class="sujectOption sujectOptionng" ng-click="takequalityFormShow($index)"><span>明细</span></td>-->
                <td class="sujectOption sujectOptionng">{{orderList.thickness}}</td>
                <td class="sujectOption sujectOptionng">{{orderList.materialsum}}</td>
                <td class="sujectOption sujectOptionng">{{orderList.purchasebuy}}</td>
                <td class="sujectOption sujectOptionng">{{orderList.ordercount}}</td>
                <td class="sujectOption sujectOptionng">{{orderList.stockcount}}</td>
                <td class="sujectOption sujectOptionng">{{orderList.productsum}}</td>

                <td class="sujectOption sujectOptionng">{{orderList.orderdate}}</td>
                <td class="sujectOption sujectOptionng">{{orderList.deline}}</td>
                <td class="sujectOption sujectOptionng"><input type="checkbox" ng-model="orderList.print" ng-true-value="true" ng-false-value="false" disabled="true"/></td>
                <td class="sujectOption sujectOptionng"><input type="checkbox" ng-model="orderList.merge" ng-true-value="true" ng-false-value="false" disabled="true"/></td>
                <td class="sujectOption sujectOptionng"><input type="checkbox" ng-model="orderList.open" ng-true-value="true" ng-false-value="false" disabled="true"/></td>
                <td class="sujectOption sujectOptionng"><input type="checkbox" ng-model="orderList.cut" ng-true-value="true" ng-false-value="false" disabled="true"/></td>
                <td class="sujectOption sujectOptionng"><input type="checkbox" ng-model="orderList.stable" ng-true-value="true" ng-false-value="false" disabled="true"/></td>
                <td class="sujectOption sujectOptionng"><input type="checkbox" ng-model="orderList.repeat" ng-true-value="true" ng-false-value="false" disabled="true"/></td>
                <td class="sujectOption sujectOptionng">{{orderList.delivery}}</td>
                <td class="sujectOption sujectOptionng">{{orderList.logistics}}</td>
                <td class="sujectOption sujectOptionng">{{orderList.express}}</td>
                <td class="sujectOption sujectOptionng">{{orderList.expressnum}}</td>
                <!--<td class="sujectOption sujectOptionng">{{orderList.status}}</td>-->
                <td class="sujectOption sujectOptionng">{{orderList.result}}</td>
                <td class="sujectOption sujectOptionng">{{orderList.insertime}}</td>
                <td class="sujectOption sujectOptionng" ng-show="username=='超级管理员'"> <div class="orderEditButton point" ng-click="editReady(orderList)"></div>   <div class="orderDeleteButton point" ng-click="dele(orderList)"></div></td>
            </tr>
        </table>

    </div>

    <div class="bottom">
        <div class="bottom">
            <div>当前是第{{p_current}}页

            </div>
            <a href=""><div ng-click="p_index(1)">首页</div></a>
            <a href=""><div ng-click="backPage()">上页</div></a>
            <a href=""><div ng-click="nextPage()">下页</div></a>


            <div class="page">
                <!--<a href=""><span ng-repeat="page in pages" ng-click="load_page($index+1)" class="pageCount">
                {{page}}</span></a>页数按钮-->
                <!--<span class="pageCount" ng-click="pagesearch($index)">{{page}}</span>-->
            </div>
            <a href=""><div ng-click="p_last(p_all_page)">尾页</div></a>
            <div>共：{{p_all_page}} 页</div>
            <div>共：{{totalCount}} 条</div>
        </div>
    </div>
</div>


    <!--tips-->
    <!--删除提示-->
    <div class="applyTickmask ng-scope" ng-show="deleTargetTipsBox" >
        <div class="houseForm" ng-show="deleTargetTipsBox">
            <div class="aptkMaskTitle ng-binding">{{tipsTitle}}</div>
            <div class="controlUser ng-binding">{{tipsContent}}</div>
            <div class="tipsbutton">
                <span class="search " ng-click="deleConfirm()">确定</span>
                <span class="search" ng-click="deleTargetTipsBox=false">取消</span>
            </div>
        </div>

    </div>

    <!--错误提示-->
    <div class="applyTickmask ng-scope" ng-show="tipsState" ng-click="tipsState=false">
        <div class="houseForm" ng-show="tipsState">
            <div class="aptkMaskTitle ng-binding">{{tipsTitle}}</div>
            <div class="controlUser ng-binding">{{tipsContent}}</div>
        </div>

    </div>

</div>


